.class public Lcom/waiqin365/lightapp/product/a/bk;
.super Lcom/waiqin365/lightapp/product/a/co;


# instance fields
.field private b:Ljava/util/List;


# direct methods
.method public constructor <init>(Landroid/content/Context;Ljava/util/List;)V
    .locals 1

    invoke-direct {p0, p1, p2}, Lcom/waiqin365/lightapp/product/a/co;-><init>(Landroid/content/Context;Ljava/util/List;)V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/a/bk;->b:Ljava/util/List;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/product/a/bk;)Ljava/util/List;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/bk;->b:Ljava/util/List;

    return-object v0
.end method


# virtual methods
.method public a(ILandroid/view/View;Landroid/view/ViewGroup;Lcom/waiqin365/base/a/b;)Landroid/view/View;
    .locals 26

    move-object/from16 v0, p0

    iget-object v4, v0, Lcom/waiqin365/lightapp/product/a/bk;->d:Ljava/util/List;

    if-eqz v4, :cond_5

    move-object/from16 v0, p0

    iget-object v4, v0, Lcom/waiqin365/lightapp/product/a/bk;->d:Ljava/util/List;

    invoke-interface {v4}, Ljava/util/List;->size()I

    move-result v4

    if-lez v4, :cond_5

    move-object/from16 v0, p0

    iget-object v4, v0, Lcom/waiqin365/lightapp/product/a/bk;->d:Ljava/util/List;

    move/from16 v0, p1

    invoke-interface {v4, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/waiqin365/lightapp/product/d/b;

    invoke-virtual {v4}, Lcom/waiqin365/lightapp/product/d/b;->a()Ljava/lang/String;

    move-result-object v5

    move-object/from16 v0, p0

    invoke-virtual {v0, v5}, Lcom/waiqin365/lightapp/product/a/bk;->b(Ljava/lang/String;)Lcom/waiqin365/base/db/jxccache/g;

    move-result-object v15

    const v5, 0x7f0c0a85

    move-object/from16 v0, p4

    move-object/from16 v1, p2

    invoke-virtual {v0, v1, v5}, Lcom/waiqin365/base/a/b;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/ImageView;

    const v6, 0x7f0c0a84

    move-object/from16 v0, p4

    move-object/from16 v1, p2

    invoke-virtual {v0, v1, v6}, Lcom/waiqin365/base/a/b;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/RelativeLayout;

    const v7, 0x7f0c04fb

    move-object/from16 v0, p4

    move-object/from16 v1, p2

    invoke-virtual {v0, v1, v7}, Lcom/waiqin365/base/a/b;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v7

    check-cast v7, Landroid/widget/ImageView;

    const v8, 0x7f0c03cf

    move-object/from16 v0, p4

    move-object/from16 v1, p2

    invoke-virtual {v0, v1, v8}, Lcom/waiqin365/base/a/b;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v8

    check-cast v8, Landroid/widget/TextView;

    const v9, 0x7f0c04fd

    move-object/from16 v0, p4

    move-object/from16 v1, p2

    invoke-virtual {v0, v1, v9}, Lcom/waiqin365/base/a/b;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/TextView;

    const v10, 0x7f0c04fe

    move-object/from16 v0, p4

    move-object/from16 v1, p2

    invoke-virtual {v0, v1, v10}, Lcom/waiqin365/base/a/b;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v10

    check-cast v10, Landroid/widget/TextView;

    const v11, 0x7f0c0697

    move-object/from16 v0, p4

    move-object/from16 v1, p2

    invoke-virtual {v0, v1, v11}, Lcom/waiqin365/base/a/b;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v16

    const v11, 0x7f0c01ee

    move-object/from16 v0, p4

    move-object/from16 v1, p2

    invoke-virtual {v0, v1, v11}, Lcom/waiqin365/base/a/b;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v11

    check-cast v11, Landroid/widget/TextView;

    const v12, 0x7f0c08ad

    move-object/from16 v0, p4

    move-object/from16 v1, p2

    invoke-virtual {v0, v1, v12}, Lcom/waiqin365/base/a/b;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v12

    check-cast v12, Lcom/waiqin365/lightapp/product/view/CountView;

    const v13, 0x7f0c096b

    move-object/from16 v0, p4

    move-object/from16 v1, p2

    invoke-virtual {v0, v1, v13}, Lcom/waiqin365/base/a/b;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v17

    const v13, 0x7f0c096d

    move-object/from16 v0, p4

    move-object/from16 v1, p2

    invoke-virtual {v0, v1, v13}, Lcom/waiqin365/base/a/b;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v13

    check-cast v13, Landroid/widget/LinearLayout;

    const v13, 0x7f0c096c

    move-object/from16 v0, p4

    move-object/from16 v1, p2

    invoke-virtual {v0, v1, v13}, Lcom/waiqin365/base/a/b;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v13

    check-cast v13, Landroid/widget/TextView;

    const v14, 0x7f0c0a1c

    move-object/from16 v0, p4

    move-object/from16 v1, p2

    invoke-virtual {v0, v1, v14}, Lcom/waiqin365/base/a/b;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v14

    check-cast v14, Landroid/widget/CheckBox;

    invoke-virtual {v14, v4}, Landroid/widget/CheckBox;->setTag(Ljava/lang/Object;)V

    invoke-virtual {v6, v15}, Landroid/widget/RelativeLayout;->setTag(Ljava/lang/Object;)V

    new-instance v18, Lcom/waiqin365/lightapp/product/a/bl;

    move-object/from16 v0, v18

    move-object/from16 v1, p0

    invoke-direct {v0, v1, v14, v4}, Lcom/waiqin365/lightapp/product/a/bl;-><init>(Lcom/waiqin365/lightapp/product/a/bk;Landroid/widget/CheckBox;Lcom/waiqin365/lightapp/product/d/b;)V

    move-object/from16 v0, v18

    invoke-virtual {v6, v0}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v18, Lcom/waiqin365/lightapp/product/a/bm;

    move-object/from16 v0, v18

    move-object/from16 v1, p0

    invoke-direct {v0, v1, v14}, Lcom/waiqin365/lightapp/product/a/bm;-><init>(Lcom/waiqin365/lightapp/product/a/bk;Landroid/widget/CheckBox;)V

    move-object/from16 v0, p2

    move-object/from16 v1, v18

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const/4 v14, 0x0

    move-object/from16 v0, v16

    invoke-virtual {v0, v14}, Landroid/view/View;->setVisibility(I)V

    const/16 v14, 0x8

    move-object/from16 v0, v17

    invoke-virtual {v0, v14}, Landroid/view/View;->setVisibility(I)V

    const/4 v14, 0x1

    invoke-virtual {v12, v14}, Lcom/waiqin365/lightapp/product/view/CountView;->a(Z)V

    const/4 v14, 0x0

    invoke-virtual {v12, v14}, Lcom/waiqin365/lightapp/product/view/CountView;->b(Z)V

    invoke-virtual/range {p0 .. p0}, Lcom/waiqin365/lightapp/product/a/bk;->e()Ljava/lang/String;

    move-result-object v14

    invoke-virtual {v11, v14}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-virtual/range {p0 .. p0}, Lcom/waiqin365/lightapp/product/a/bk;->e()Ljava/lang/String;

    move-result-object v11

    invoke-virtual {v13, v11}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-virtual {v4}, Lcom/waiqin365/lightapp/product/d/b;->b()Ljava/lang/String;

    move-result-object v11

    invoke-virtual {v9, v11}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    new-instance v9, Ljava/lang/StringBuilder;

    invoke-direct {v9}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual/range {p0 .. p0}, Lcom/waiqin365/lightapp/product/a/bk;->a()Landroid/content/Context;

    move-result-object v11

    const v13, 0x7f080296

    invoke-virtual {v11, v13}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v11

    invoke-virtual {v9, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    const-string/jumbo v11, "\uff1a"

    invoke-virtual {v9, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v4}, Lcom/waiqin365/lightapp/product/d/b;->d()Ljava/lang/String;

    move-result-object v11

    invoke-virtual {v9, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v9

    invoke-virtual {v8, v9}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    new-instance v8, Ljava/lang/StringBuilder;

    invoke-direct {v8}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual/range {p0 .. p0}, Lcom/waiqin365/lightapp/product/a/bk;->a()Landroid/content/Context;

    move-result-object v9

    const v11, 0x7f0801db

    invoke-virtual {v9, v11}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v9

    invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v8

    const-string/jumbo v9, "\uff1a\u00a5"

    invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v8

    invoke-virtual {v4}, Lcom/waiqin365/lightapp/product/d/b;->e()Ljava/lang/Double;

    move-result-object v9

    invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v8

    const-string/jumbo v9, "/"

    invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v8

    invoke-virtual/range {p0 .. p0}, Lcom/waiqin365/lightapp/product/a/bk;->a()Landroid/content/Context;

    move-result-object v9

    const v11, 0x7f080808

    invoke-virtual {v9, v11}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v9

    invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v8

    invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v8

    invoke-virtual {v10, v8}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const/4 v8, 0x0

    invoke-virtual {v5, v8}, Landroid/widget/ImageView;->setVisibility(I)V

    if-eqz v15, :cond_2

    const v8, 0x7f020129

    invoke-virtual {v5, v8}, Landroid/widget/ImageView;->setImageResource(I)V

    const/16 v5, 0x8

    move-object/from16 v0, v17

    invoke-virtual {v0, v5}, Landroid/view/View;->setVisibility(I)V

    const/4 v5, 0x0

    move-object/from16 v0, v16

    invoke-virtual {v0, v5}, Landroid/view/View;->setVisibility(I)V

    new-instance v5, Lcom/waiqin365/base/db/offlinedata/s;

    invoke-direct {v5}, Lcom/waiqin365/base/db/offlinedata/s;-><init>()V

    invoke-virtual/range {p0 .. p0}, Lcom/waiqin365/lightapp/product/a/bk;->a()Landroid/content/Context;

    move-result-object v8

    const v9, 0x7f080808

    invoke-virtual {v8, v9}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v8

    invoke-virtual {v5, v8}, Lcom/waiqin365/base/db/offlinedata/s;->a(Ljava/lang/String;)V

    invoke-virtual/range {p0 .. p0}, Lcom/waiqin365/lightapp/product/a/bk;->a()Landroid/content/Context;

    move-result-object v8

    const v9, 0x7f080808

    invoke-virtual {v8, v9}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v8

    invoke-virtual {v5, v8}, Lcom/waiqin365/base/db/offlinedata/s;->c(Ljava/lang/String;)V

    const-wide/high16 v8, 0x3ff0000000000000L    # 1.0

    invoke-static {v8, v9}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v8

    invoke-virtual {v5, v8}, Lcom/waiqin365/base/db/offlinedata/s;->a(Ljava/lang/Double;)V

    invoke-virtual {v12}, Lcom/waiqin365/lightapp/product/view/CountView;->d()V

    invoke-virtual {v12, v5}, Lcom/waiqin365/lightapp/product/view/CountView;->setUnit(Lcom/waiqin365/base/db/offlinedata/s;)V

    invoke-virtual {v15}, Lcom/waiqin365/base/db/jxccache/g;->g()Ljava/lang/Double;

    move-result-object v5

    if-nez v5, :cond_1

    const-string/jumbo v5, ""

    invoke-virtual {v12, v5}, Lcom/waiqin365/lightapp/product/view/CountView;->setCount(Ljava/lang/String;)V

    :goto_0
    move-object/from16 v0, p0

    iget-boolean v5, v0, Lcom/waiqin365/lightapp/product/a/bk;->e:Z

    if-eqz v5, :cond_4

    const/4 v5, 0x0

    invoke-virtual {v7, v5}, Landroid/widget/ImageView;->setVisibility(I)V

    invoke-virtual {v4}, Lcom/waiqin365/lightapp/product/d/b;->f()Ljava/lang/String;

    move-result-object v5

    if-eqz v5, :cond_3

    const-string/jumbo v5, ""

    invoke-virtual {v4}, Lcom/waiqin365/lightapp/product/d/b;->f()Ljava/lang/String;

    move-result-object v8

    invoke-virtual {v5, v8}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-nez v5, :cond_3

    invoke-virtual {v4}, Lcom/waiqin365/lightapp/product/d/b;->f()Ljava/lang/String;

    move-result-object v4

    const-string/jumbo v5, ","

    invoke-virtual {v4, v5}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v4

    array-length v5, v4

    if-lez v5, :cond_0

    const/4 v5, 0x0

    aget-object v4, v4, v5

    const/16 v5, 0x2e

    invoke-virtual {v4, v5}, Ljava/lang/String;->lastIndexOf(I)I

    move-result v5

    new-instance v8, Ljava/lang/StringBuffer;

    invoke-direct {v8, v4}, Ljava/lang/StringBuffer;-><init>(Ljava/lang/String;)V

    const-string/jumbo v4, "_small"

    invoke-virtual {v8, v5, v4}, Ljava/lang/StringBuffer;->insert(ILjava/lang/String;)Ljava/lang/StringBuffer;

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v4

    invoke-virtual/range {p0 .. p0}, Lcom/waiqin365/lightapp/product/a/bk;->a()Landroid/content/Context;

    move-result-object v5

    invoke-virtual {v8}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;

    move-result-object v8

    invoke-virtual {v4, v5, v8}, Lcom/waiqin365/base/login/mainview/a;->a(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual/range {p0 .. p0}, Lcom/waiqin365/lightapp/product/a/bk;->a()Landroid/content/Context;

    move-result-object v5

    invoke-static {v5}, Lcom/fiberhome/gaea/client/d/f;->a(Landroid/content/Context;)Lcom/fiberhome/gaea/client/d/f;

    move-result-object v5

    invoke-virtual {v5, v4}, Lcom/fiberhome/gaea/client/d/f;->b(Ljava/lang/String;)Lcom/squareup/picasso/RequestCreator;

    move-result-object v4

    invoke-virtual {v4, v7}, Lcom/squareup/picasso/RequestCreator;->into(Landroid/widget/ImageView;)V

    :cond_0
    :goto_1
    const/16 v4, 0x8

    invoke-virtual {v7, v4}, Landroid/widget/ImageView;->setVisibility(I)V

    new-instance v4, Lcom/waiqin365/lightapp/product/a/bn;

    move-object/from16 v0, p0

    invoke-direct {v4, v0, v6}, Lcom/waiqin365/lightapp/product/a/bn;-><init>(Lcom/waiqin365/lightapp/product/a/bk;Landroid/widget/RelativeLayout;)V

    invoke-virtual {v12, v4}, Lcom/waiqin365/lightapp/product/view/CountView;->setDataListener(Lcom/waiqin365/lightapp/product/view/e;)V

    :goto_2
    return-object p2

    :cond_1
    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v15}, Lcom/waiqin365/base/db/jxccache/g;->g()Ljava/lang/Double;

    move-result-object v8

    invoke-virtual {v8}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v8

    invoke-virtual {v5, v8, v9}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string/jumbo v8, ""

    invoke-virtual {v5, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v12, v5}, Lcom/waiqin365/lightapp/product/view/CountView;->setCount(Ljava/lang/String;)V

    goto/16 :goto_0

    :cond_2
    const v8, 0x7f02012d

    invoke-virtual {v5, v8}, Landroid/widget/ImageView;->setImageResource(I)V

    const/16 v5, 0x8

    move-object/from16 v0, v16

    invoke-virtual {v0, v5}, Landroid/view/View;->setVisibility(I)V

    const/16 v5, 0x8

    move-object/from16 v0, v17

    invoke-virtual {v0, v5}, Landroid/view/View;->setVisibility(I)V

    goto/16 :goto_0

    :cond_3
    const v4, 0x7f020306

    invoke-virtual {v7, v4}, Landroid/widget/ImageView;->setImageResource(I)V

    goto :goto_1

    :cond_4
    const/16 v4, 0x8

    invoke-virtual {v7, v4}, Landroid/widget/ImageView;->setVisibility(I)V

    goto :goto_1

    :cond_5
    move-object/from16 v0, p0

    iget-object v4, v0, Lcom/waiqin365/lightapp/product/a/bk;->c:Ljava/util/List;

    move/from16 v0, p1

    invoke-interface {v4, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/waiqin365/lightapp/product/d/f;

    invoke-virtual {v4}, Lcom/waiqin365/lightapp/product/d/f;->a()Ljava/lang/String;

    move-result-object v5

    move-object/from16 v0, p0

    invoke-virtual {v0, v5}, Lcom/waiqin365/lightapp/product/a/bk;->b(Ljava/lang/String;)Lcom/waiqin365/base/db/jxccache/g;

    move-result-object v18

    const v5, 0x7f0c0a85

    move-object/from16 v0, p4

    move-object/from16 v1, p2

    invoke-virtual {v0, v1, v5}, Lcom/waiqin365/base/a/b;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/ImageView;

    const v6, 0x7f0c0a84

    move-object/from16 v0, p4

    move-object/from16 v1, p2

    invoke-virtual {v0, v1, v6}, Lcom/waiqin365/base/a/b;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/RelativeLayout;

    const v7, 0x7f0c04fb

    move-object/from16 v0, p4

    move-object/from16 v1, p2

    invoke-virtual {v0, v1, v7}, Lcom/waiqin365/base/a/b;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v7

    check-cast v7, Landroid/widget/ImageView;

    const v8, 0x7f0c09e4

    move-object/from16 v0, p4

    move-object/from16 v1, p2

    invoke-virtual {v0, v1, v8}, Lcom/waiqin365/base/a/b;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v8

    check-cast v8, Landroid/widget/TextView;

    const v9, 0x7f0c0554

    move-object/from16 v0, p4

    move-object/from16 v1, p2

    invoke-virtual {v0, v1, v9}, Lcom/waiqin365/base/a/b;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v9

    check-cast v9, Landroid/widget/TextView;

    const v10, 0x7f0c04fc

    move-object/from16 v0, p4

    move-object/from16 v1, p2

    invoke-virtual {v0, v1, v10}, Lcom/waiqin365/base/a/b;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v10

    check-cast v10, Landroid/widget/TextView;

    const v11, 0x7f0c04fa

    move-object/from16 v0, p4

    move-object/from16 v1, p2

    invoke-virtual {v0, v1, v11}, Lcom/waiqin365/base/a/b;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v19

    const v11, 0x7f0c04fe

    move-object/from16 v0, p4

    move-object/from16 v1, p2

    invoke-virtual {v0, v1, v11}, Lcom/waiqin365/base/a/b;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v11

    check-cast v11, Landroid/widget/TextView;

    const v12, 0x7f0c0ade

    move-object/from16 v0, p4

    move-object/from16 v1, p2

    invoke-virtual {v0, v1, v12}, Lcom/waiqin365/base/a/b;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v12

    check-cast v12, Landroid/widget/TextView;

    const v13, 0x7f0c0697

    move-object/from16 v0, p4

    move-object/from16 v1, p2

    invoke-virtual {v0, v1, v13}, Lcom/waiqin365/base/a/b;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v20

    const v13, 0x7f0c01ee

    move-object/from16 v0, p4

    move-object/from16 v1, p2

    invoke-virtual {v0, v1, v13}, Lcom/waiqin365/base/a/b;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v13

    check-cast v13, Landroid/widget/TextView;

    const v14, 0x7f0c08ad

    move-object/from16 v0, p4

    move-object/from16 v1, p2

    invoke-virtual {v0, v1, v14}, Lcom/waiqin365/base/a/b;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v14

    check-cast v14, Lcom/waiqin365/lightapp/product/view/CountView;

    const v15, 0x7f0c096b

    move-object/from16 v0, p4

    move-object/from16 v1, p2

    invoke-virtual {v0, v1, v15}, Lcom/waiqin365/base/a/b;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v21

    const v15, 0x7f0c096d

    move-object/from16 v0, p4

    move-object/from16 v1, p2

    invoke-virtual {v0, v1, v15}, Lcom/waiqin365/base/a/b;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v15

    check-cast v15, Landroid/widget/LinearLayout;

    const v16, 0x7f0c096c

    move-object/from16 v0, p4

    move-object/from16 v1, p2

    move/from16 v2, v16

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/base/a/b;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v16

    check-cast v16, Landroid/widget/TextView;

    const v17, 0x7f0c0a1c

    move-object/from16 v0, p4

    move-object/from16 v1, p2

    move/from16 v2, v17

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/base/a/b;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v17

    check-cast v17, Landroid/widget/CheckBox;

    move-object/from16 v0, v17

    invoke-virtual {v0, v4}, Landroid/widget/CheckBox;->setTag(Ljava/lang/Object;)V

    move-object/from16 v0, v18

    invoke-virtual {v6, v0}, Landroid/widget/RelativeLayout;->setTag(Ljava/lang/Object;)V

    new-instance v22, Lcom/waiqin365/lightapp/product/a/bo;

    move-object/from16 v0, v22

    move-object/from16 v1, p0

    move-object/from16 v2, v17

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightapp/product/a/bo;-><init>(Lcom/waiqin365/lightapp/product/a/bk;Landroid/widget/CheckBox;)V

    move-object/from16 v0, v22

    invoke-virtual {v6, v0}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v22, Lcom/waiqin365/lightapp/product/a/bp;

    move-object/from16 v0, v22

    move-object/from16 v1, p0

    move-object/from16 v2, v17

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightapp/product/a/bp;-><init>(Lcom/waiqin365/lightapp/product/a/bk;Landroid/widget/CheckBox;)V

    invoke-virtual/range {p0 .. p0}, Lcom/waiqin365/lightapp/product/a/bk;->f()Z

    move-result v23

    if-eqz v23, :cond_7

    move-object/from16 v0, v19

    move-object/from16 v1, v22

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    :goto_3
    invoke-virtual/range {p0 .. p0}, Lcom/waiqin365/lightapp/product/a/bk;->a()Landroid/content/Context;

    move-result-object v22

    invoke-static/range {v22 .. v22}, Lcom/waiqin365/base/db/offlinedata/w;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/w;

    move-result-object v22

    invoke-virtual {v4}, Lcom/waiqin365/lightapp/product/d/f;->a()Ljava/lang/String;

    move-result-object v23

    invoke-virtual/range {v22 .. v23}, Lcom/waiqin365/base/db/offlinedata/w;->d(Ljava/lang/String;)Ljava/util/List;

    move-result-object v22

    move-object/from16 v0, p0

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/product/a/bk;->i:Z

    move/from16 v23, v0

    if-eqz v23, :cond_8

    const/16 v23, 0x8

    move-object/from16 v0, v20

    move/from16 v1, v23

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    const/16 v23, 0x0

    move-object/from16 v0, v21

    move/from16 v1, v23

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :goto_4
    invoke-virtual/range {p0 .. p0}, Lcom/waiqin365/lightapp/product/a/bk;->e()Ljava/lang/String;

    move-result-object v23

    move-object/from16 v0, v23

    invoke-virtual {v13, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-virtual/range {p0 .. p0}, Lcom/waiqin365/lightapp/product/a/bk;->e()Ljava/lang/String;

    move-result-object v13

    move-object/from16 v0, v16

    invoke-virtual {v0, v13}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    move-object/from16 v0, p0

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/product/a/bk;->a(Lcom/waiqin365/lightapp/product/d/f;)Ljava/lang/String;

    move-result-object v13

    invoke-static {v13}, Lcom/fiberhome/gaea/client/d/k;->i(Ljava/lang/String;)Z

    move-result v13

    if-eqz v13, :cond_c

    const/16 v13, 0x8

    invoke-virtual {v12, v13}, Landroid/widget/TextView;->setVisibility(I)V

    :goto_5
    invoke-virtual/range {p0 .. p0}, Lcom/waiqin365/lightapp/product/a/bk;->a()Landroid/content/Context;

    move-result-object v12

    invoke-static {v12, v4}, Lcom/waiqin365/lightapp/product/e/b;->a(Landroid/content/Context;Lcom/waiqin365/lightapp/product/d/f;)Landroid/text/SpannableStringBuilder;

    move-result-object v12

    invoke-virtual {v9, v12}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v9, v4, Lcom/waiqin365/lightapp/product/d/f;->e:Ljava/lang/String;

    invoke-static {v9}, Lcom/fiberhome/gaea/client/d/k;->i(Ljava/lang/String;)Z

    move-result v12

    if-eqz v12, :cond_d

    const/16 v9, 0x8

    invoke-virtual {v8, v9}, Landroid/widget/TextView;->setVisibility(I)V

    :goto_6
    move-object/from16 v0, p0

    move-object/from16 v1, v18

    invoke-virtual {v0, v4, v1}, Lcom/waiqin365/lightapp/product/a/bk;->a(Lcom/waiqin365/lightapp/product/d/f;Lcom/waiqin365/base/db/jxccache/g;)Ljava/lang/String;

    move-result-object v8

    invoke-virtual {v11, v8}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const/4 v8, 0x0

    invoke-virtual {v5, v8}, Landroid/widget/ImageView;->setVisibility(I)V

    if-eqz v18, :cond_17

    const v8, 0x7f020129

    invoke-virtual {v5, v8}, Landroid/widget/ImageView;->setImageResource(I)V

    move-object/from16 v0, p0

    iget-boolean v5, v0, Lcom/waiqin365/lightapp/product/a/bk;->i:Z

    if-eqz v5, :cond_12

    const/4 v5, 0x0

    move-object/from16 v0, v21

    invoke-virtual {v0, v5}, Landroid/view/View;->setVisibility(I)V

    const/16 v5, 0x8

    move-object/from16 v0, v20

    invoke-virtual {v0, v5}, Landroid/view/View;->setVisibility(I)V

    invoke-virtual {v15}, Landroid/widget/LinearLayout;->removeAllViews()V

    invoke-virtual/range {v18 .. v18}, Lcom/waiqin365/base/db/jxccache/g;->g()Ljava/lang/Double;

    move-result-object v5

    if-nez v5, :cond_e

    const-wide/16 v8, 0x0

    :goto_7
    if-eqz v22, :cond_14

    invoke-interface/range {v22 .. v22}, Ljava/util/List;->size()I

    move-result v5

    if-lez v5, :cond_14

    new-instance v16, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v5, -0x1

    const/4 v12, -0x2

    move-object/from16 v0, v16

    invoke-direct {v0, v5, v12}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    const/4 v5, 0x0

    move-wide v12, v8

    move v8, v5

    :goto_8
    invoke-interface/range {v22 .. v22}, Ljava/util/List;->size()I

    move-result v5

    if-ge v8, v5, :cond_14

    move-object/from16 v0, v22

    invoke-interface {v0, v8}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Lcom/waiqin365/base/db/offlinedata/s;

    new-instance v9, Lcom/waiqin365/lightapp/product/view/CountView;

    invoke-virtual/range {p0 .. p0}, Lcom/waiqin365/lightapp/product/a/bk;->a()Landroid/content/Context;

    move-result-object v18

    move-object/from16 v0, v18

    invoke-direct {v9, v0}, Lcom/waiqin365/lightapp/product/view/CountView;-><init>(Landroid/content/Context;)V

    const/16 v18, 0x0

    move/from16 v0, v18

    invoke-virtual {v9, v0}, Lcom/waiqin365/lightapp/product/view/CountView;->b(Z)V

    const/16 v18, 0x1

    move/from16 v0, v18

    invoke-virtual {v9, v0}, Lcom/waiqin365/lightapp/product/view/CountView;->a(Z)V

    invoke-virtual {v9, v5}, Lcom/waiqin365/lightapp/product/view/CountView;->setUnit(Lcom/waiqin365/base/db/offlinedata/s;)V

    invoke-interface/range {v22 .. v22}, Ljava/util/List;->size()I

    move-result v18

    add-int/lit8 v18, v18, -0x1

    move/from16 v0, v18

    if-ne v0, v8, :cond_10

    const-wide/16 v20, 0x0

    cmpl-double v5, v12, v20

    if-lez v5, :cond_f

    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v5, v12, v13}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string/jumbo v18, ""

    move-object/from16 v0, v18

    invoke-virtual {v5, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    :goto_9
    invoke-virtual {v9, v5}, Lcom/waiqin365/lightapp/product/view/CountView;->setCount(Ljava/lang/String;)V

    :cond_6
    :goto_a
    new-instance v5, Lcom/waiqin365/lightapp/product/a/bq;

    move-object/from16 v0, p0

    invoke-direct {v5, v0, v6, v15}, Lcom/waiqin365/lightapp/product/a/bq;-><init>(Lcom/waiqin365/lightapp/product/a/bk;Landroid/widget/RelativeLayout;Landroid/widget/LinearLayout;)V

    invoke-virtual {v9, v5}, Lcom/waiqin365/lightapp/product/view/CountView;->setDataListener(Lcom/waiqin365/lightapp/product/view/e;)V

    new-instance v5, Lcom/waiqin365/lightapp/product/a/br;

    move-object/from16 v0, p0

    move-object/from16 v1, v17

    invoke-direct {v5, v0, v9, v1}, Lcom/waiqin365/lightapp/product/a/br;-><init>(Lcom/waiqin365/lightapp/product/a/bk;Lcom/waiqin365/lightapp/product/view/CountView;Landroid/widget/CheckBox;)V

    invoke-virtual {v9, v5}, Lcom/waiqin365/lightapp/product/view/CountView;->setOnFocusChangeListener(Landroid/view/View$OnFocusChangeListener;)V

    if-eqz v8, :cond_11

    const/4 v5, 0x0

    invoke-virtual/range {p0 .. p0}, Lcom/waiqin365/lightapp/product/a/bk;->a()Landroid/content/Context;

    move-result-object v18

    const/high16 v20, 0x40c00000    # 6.0f

    move-object/from16 v0, v18

    move/from16 v1, v20

    invoke-static {v0, v1}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v18

    invoke-virtual/range {p0 .. p0}, Lcom/waiqin365/lightapp/product/a/bk;->a()Landroid/content/Context;

    move-result-object v20

    const/high16 v21, 0x40c00000    # 6.0f

    invoke-static/range {v20 .. v21}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v20

    const/16 v21, 0x0

    move-object/from16 v0, v16

    move/from16 v1, v18

    move/from16 v2, v20

    move/from16 v3, v21

    invoke-virtual {v0, v5, v1, v2, v3}, Landroid/widget/LinearLayout$LayoutParams;->setMargins(IIII)V

    move-object/from16 v0, v16

    invoke-virtual {v15, v9, v0}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    :goto_b
    add-int/lit8 v5, v8, 0x1

    move v8, v5

    goto/16 :goto_8

    :cond_7
    move-object/from16 v0, p2

    move-object/from16 v1, v22

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    goto/16 :goto_3

    :cond_8
    const/16 v23, 0x0

    move-object/from16 v0, v20

    move/from16 v1, v23

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    const/16 v23, 0x8

    move-object/from16 v0, v21

    move/from16 v1, v23

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    if-eqz v22, :cond_9

    invoke-interface/range {v22 .. v22}, Ljava/util/List;->size()I

    move-result v23

    if-nez v23, :cond_a

    :cond_9
    const/16 v23, 0x0

    move/from16 v0, v23

    invoke-virtual {v14, v0}, Lcom/waiqin365/lightapp/product/view/CountView;->a(Z)V

    const/16 v23, 0x0

    move/from16 v0, v23

    invoke-virtual {v14, v0}, Lcom/waiqin365/lightapp/product/view/CountView;->b(Z)V

    goto/16 :goto_4

    :cond_a
    invoke-interface/range {v22 .. v22}, Ljava/util/List;->size()I

    move-result v23

    const/16 v24, 0x1

    move/from16 v0, v23

    move/from16 v1, v24

    if-ne v0, v1, :cond_b

    const/16 v23, 0x1

    move/from16 v0, v23

    invoke-virtual {v14, v0}, Lcom/waiqin365/lightapp/product/view/CountView;->a(Z)V

    const/16 v23, 0x0

    move/from16 v0, v23

    invoke-virtual {v14, v0}, Lcom/waiqin365/lightapp/product/view/CountView;->b(Z)V

    goto/16 :goto_4

    :cond_b
    const/16 v23, 0x1

    move/from16 v0, v23

    invoke-virtual {v14, v0}, Lcom/waiqin365/lightapp/product/view/CountView;->a(Z)V

    const/16 v23, 0x1

    move/from16 v0, v23

    invoke-virtual {v14, v0}, Lcom/waiqin365/lightapp/product/view/CountView;->b(Z)V

    goto/16 :goto_4

    :cond_c
    const/4 v13, 0x0

    invoke-virtual {v12, v13}, Landroid/widget/TextView;->setVisibility(I)V

    move-object/from16 v0, p0

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/product/a/bk;->a(Lcom/waiqin365/lightapp/product/d/f;)Ljava/lang/String;

    move-result-object v13

    invoke-virtual {v12, v13}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_5

    :cond_d
    const/4 v12, 0x0

    invoke-virtual {v8, v12}, Landroid/widget/TextView;->setVisibility(I)V

    invoke-virtual {v8, v9}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_6

    :cond_e
    invoke-virtual/range {v18 .. v18}, Lcom/waiqin365/base/db/jxccache/g;->g()Ljava/lang/Double;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v8

    goto/16 :goto_7

    :cond_f
    const-string/jumbo v5, ""

    goto/16 :goto_9

    :cond_10
    invoke-virtual {v5}, Lcom/waiqin365/base/db/offlinedata/s;->e()Ljava/lang/Double;

    move-result-object v18

    invoke-virtual/range {v18 .. v18}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v20

    div-double v20, v12, v20

    move-wide/from16 v0, v20

    double-to-int v0, v0

    move/from16 v18, v0

    if-lez v18, :cond_6

    move/from16 v0, v18

    int-to-double v0, v0

    move-wide/from16 v20, v0

    invoke-virtual {v5}, Lcom/waiqin365/base/db/offlinedata/s;->e()Ljava/lang/Double;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v24

    mul-double v20, v20, v24

    sub-double v12, v12, v20

    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    move/from16 v0, v18

    invoke-virtual {v5, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string/jumbo v18, ""

    move-object/from16 v0, v18

    invoke-virtual {v5, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v9, v5}, Lcom/waiqin365/lightapp/product/view/CountView;->setCount(Ljava/lang/String;)V

    goto/16 :goto_a

    :cond_11
    const/4 v5, 0x0

    const/16 v18, 0x0

    invoke-virtual/range {p0 .. p0}, Lcom/waiqin365/lightapp/product/a/bk;->a()Landroid/content/Context;

    move-result-object v20

    const/high16 v21, 0x40c00000    # 6.0f

    invoke-static/range {v20 .. v21}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v20

    const/16 v21, 0x0

    move-object/from16 v0, v16

    move/from16 v1, v18

    move/from16 v2, v20

    move/from16 v3, v21

    invoke-virtual {v0, v5, v1, v2, v3}, Landroid/widget/LinearLayout$LayoutParams;->setMargins(IIII)V

    move-object/from16 v0, v16

    invoke-virtual {v15, v9, v0}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    goto/16 :goto_b

    :cond_12
    const/16 v5, 0x8

    move-object/from16 v0, v21

    invoke-virtual {v0, v5}, Landroid/view/View;->setVisibility(I)V

    const/4 v5, 0x0

    move-object/from16 v0, v20

    invoke-virtual {v0, v5}, Landroid/view/View;->setVisibility(I)V

    invoke-virtual/range {p0 .. p0}, Lcom/waiqin365/lightapp/product/a/bk;->a()Landroid/content/Context;

    move-result-object v5

    invoke-static {v5}, Lcom/waiqin365/base/db/offlinedata/w;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/w;

    move-result-object v5

    invoke-virtual/range {v18 .. v18}, Lcom/waiqin365/base/db/jxccache/g;->h()Ljava/lang/String;

    move-result-object v8

    invoke-virtual {v5, v8}, Lcom/waiqin365/base/db/offlinedata/w;->e(Ljava/lang/String;)Lcom/waiqin365/base/db/offlinedata/s;

    move-result-object v5

    if-nez v5, :cond_13

    invoke-virtual/range {p0 .. p0}, Lcom/waiqin365/lightapp/product/a/bk;->a()Landroid/content/Context;

    move-result-object v5

    invoke-static {v5}, Lcom/waiqin365/base/db/offlinedata/w;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/w;

    move-result-object v5

    invoke-virtual/range {v18 .. v18}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v8

    invoke-virtual {v5, v8}, Lcom/waiqin365/base/db/offlinedata/w;->f(Ljava/lang/String;)Lcom/waiqin365/base/db/offlinedata/s;

    move-result-object v5

    :cond_13
    invoke-virtual {v14}, Lcom/waiqin365/lightapp/product/view/CountView;->d()V

    invoke-virtual {v14, v5}, Lcom/waiqin365/lightapp/product/view/CountView;->setUnit(Lcom/waiqin365/base/db/offlinedata/s;)V

    invoke-virtual/range {v18 .. v18}, Lcom/waiqin365/base/db/jxccache/g;->g()Ljava/lang/Double;

    move-result-object v5

    if-nez v5, :cond_16

    const-string/jumbo v5, ""

    invoke-virtual {v14, v5}, Lcom/waiqin365/lightapp/product/view/CountView;->setCount(Ljava/lang/String;)V

    :cond_14
    :goto_c
    move-object/from16 v0, p0

    iget-boolean v5, v0, Lcom/waiqin365/lightapp/product/a/bk;->e:Z

    if-eqz v5, :cond_1a

    const/4 v5, 0x0

    move-object/from16 v0, v19

    invoke-virtual {v0, v5}, Landroid/view/View;->setVisibility(I)V

    invoke-virtual {v4}, Lcom/waiqin365/lightapp/product/d/f;->A()Ljava/lang/String;

    move-result-object v5

    if-eqz v5, :cond_18

    const-string/jumbo v5, ""

    invoke-virtual {v4}, Lcom/waiqin365/lightapp/product/d/f;->A()Ljava/lang/String;

    move-result-object v8

    invoke-virtual {v5, v8}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-nez v5, :cond_18

    invoke-virtual {v4}, Lcom/waiqin365/lightapp/product/d/f;->A()Ljava/lang/String;

    move-result-object v5

    const-string/jumbo v8, ","

    invoke-virtual {v5, v8}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v5

    array-length v8, v5

    if-lez v8, :cond_15

    const/4 v8, 0x0

    aget-object v5, v5, v8

    const/16 v8, 0x2e

    invoke-virtual {v5, v8}, Ljava/lang/String;->lastIndexOf(I)I

    move-result v8

    new-instance v9, Ljava/lang/StringBuffer;

    invoke-direct {v9, v5}, Ljava/lang/StringBuffer;-><init>(Ljava/lang/String;)V

    const-string/jumbo v5, "_small"

    invoke-virtual {v9, v8, v5}, Ljava/lang/StringBuffer;->insert(ILjava/lang/String;)Ljava/lang/StringBuffer;

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v5

    invoke-virtual/range {p0 .. p0}, Lcom/waiqin365/lightapp/product/a/bk;->a()Landroid/content/Context;

    move-result-object v8

    invoke-virtual {v9}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;

    move-result-object v9

    invoke-virtual {v5, v8, v9}, Lcom/waiqin365/base/login/mainview/a;->a(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    invoke-virtual/range {p0 .. p0}, Lcom/waiqin365/lightapp/product/a/bk;->a()Landroid/content/Context;

    move-result-object v8

    invoke-static {v8}, Lcom/fiberhome/gaea/client/d/f;->a(Landroid/content/Context;)Lcom/fiberhome/gaea/client/d/f;

    move-result-object v8

    invoke-virtual {v8, v5}, Lcom/fiberhome/gaea/client/d/f;->b(Ljava/lang/String;)Lcom/squareup/picasso/RequestCreator;

    move-result-object v5

    invoke-virtual {v5, v7}, Lcom/squareup/picasso/RequestCreator;->into(Landroid/widget/ImageView;)V

    :cond_15
    :goto_d
    invoke-virtual/range {p0 .. p0}, Lcom/waiqin365/lightapp/product/a/bk;->o()Z

    move-result v5

    if-eqz v5, :cond_19

    invoke-virtual/range {p0 .. p0}, Lcom/waiqin365/lightapp/product/a/bk;->a()Landroid/content/Context;

    move-result-object v5

    invoke-static {v5}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v5

    invoke-virtual {v4}, Lcom/waiqin365/lightapp/product/d/f;->a()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v5, v4}, Lcom/waiqin365/base/db/jxccache/f;->j(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_19

    const/4 v4, 0x0

    invoke-virtual {v10, v4}, Landroid/widget/TextView;->setVisibility(I)V

    :goto_e
    new-instance v4, Lcom/waiqin365/lightapp/product/a/bt;

    move-object/from16 v0, p0

    move-object/from16 v1, v17

    invoke-direct {v4, v0, v6, v1, v11}, Lcom/waiqin365/lightapp/product/a/bt;-><init>(Lcom/waiqin365/lightapp/product/a/bk;Landroid/widget/RelativeLayout;Landroid/widget/CheckBox;Landroid/widget/TextView;)V

    invoke-virtual {v14, v4}, Lcom/waiqin365/lightapp/product/view/CountView;->setDataListener(Lcom/waiqin365/lightapp/product/view/e;)V

    new-instance v4, Lcom/waiqin365/lightapp/product/a/bu;

    move-object/from16 v0, p0

    move-object/from16 v1, v17

    invoke-direct {v4, v0, v14, v1}, Lcom/waiqin365/lightapp/product/a/bu;-><init>(Lcom/waiqin365/lightapp/product/a/bk;Lcom/waiqin365/lightapp/product/view/CountView;Landroid/widget/CheckBox;)V

    invoke-virtual {v14, v4}, Lcom/waiqin365/lightapp/product/view/CountView;->setOnFocusChangeListener(Landroid/view/View$OnFocusChangeListener;)V

    goto/16 :goto_2

    :cond_16
    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual/range {v18 .. v18}, Lcom/waiqin365/base/db/jxccache/g;->g()Ljava/lang/Double;

    move-result-object v8

    invoke-virtual {v8}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v8

    invoke-virtual {v5, v8, v9}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string/jumbo v8, ""

    invoke-virtual {v5, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v14, v5}, Lcom/waiqin365/lightapp/product/view/CountView;->setCount(Ljava/lang/String;)V

    goto/16 :goto_c

    :cond_17
    const v8, 0x7f02012d

    invoke-virtual {v5, v8}, Landroid/widget/ImageView;->setImageResource(I)V

    const/16 v5, 0x8

    move-object/from16 v0, v20

    invoke-virtual {v0, v5}, Landroid/view/View;->setVisibility(I)V

    const/16 v5, 0x8

    move-object/from16 v0, v21

    invoke-virtual {v0, v5}, Landroid/view/View;->setVisibility(I)V

    goto/16 :goto_c

    :cond_18
    const v5, 0x7f020306

    invoke-virtual {v7, v5}, Landroid/widget/ImageView;->setImageResource(I)V

    goto :goto_d

    :cond_19
    const/16 v4, 0x8

    invoke-virtual {v10, v4}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_e

    :cond_1a
    const/16 v4, 0x8

    move-object/from16 v0, v19

    invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V

    goto :goto_e
.end method

.method public a(Lcom/waiqin365/lightapp/product/d/f;)Ljava/lang/String;
    .locals 1

    const-string/jumbo v0, ""

    return-object v0
.end method

.method public a(Lcom/waiqin365/lightapp/product/d/f;Lcom/waiqin365/base/db/jxccache/g;)Ljava/lang/String;
    .locals 8

    const v7, 0x7f080806

    const v6, 0x7f080660

    const/4 v5, 0x1

    const/4 v4, 0x0

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/product/a/bk;->h:Z

    if-eqz v0, :cond_0

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {p2, p1, v4}, Lcom/waiqin365/lightapp/product/e/b;->a(Lcom/waiqin365/base/db/jxccache/g;Lcom/waiqin365/lightapp/product/d/f;Z)D

    move-result-wide v2

    invoke-virtual {v0, v2, v3}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->d()I

    move-result v1

    invoke-static {v0, v1, v5}, Lcom/waiqin365/lightapp/product/e/b;->b(Ljava/lang/String;IZ)Ljava/lang/String;

    move-result-object v0

    invoke-static {p2, p1, v4}, Lcom/waiqin365/lightapp/product/e/b;->b(Lcom/waiqin365/base/db/jxccache/g;Lcom/waiqin365/lightapp/product/d/f;Z)Ljava/lang/String;

    move-result-object v1

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/a/bk;->a()Landroid/content/Context;

    move-result-object v3

    invoke-virtual {v3, v6}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, "\uff1a"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/a/bk;->a()Landroid/content/Context;

    move-result-object v2

    invoke-virtual {v2, v7}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    :goto_0
    return-object v0

    :cond_0
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {p2, p1}, Lcom/waiqin365/lightapp/product/e/b;->a(Lcom/waiqin365/base/db/jxccache/g;Lcom/waiqin365/lightapp/product/d/f;)D

    move-result-wide v2

    invoke-virtual {v0, v2, v3}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->d()I

    move-result v1

    invoke-static {v0, v1, v5}, Lcom/waiqin365/lightapp/product/e/b;->b(Ljava/lang/String;IZ)Ljava/lang/String;

    move-result-object v0

    invoke-static {p2, p1}, Lcom/waiqin365/lightapp/product/e/b;->b(Lcom/waiqin365/base/db/jxccache/g;Lcom/waiqin365/lightapp/product/d/f;)Ljava/lang/String;

    move-result-object v1

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/a/bk;->a()Landroid/content/Context;

    move-result-object v3

    invoke-virtual {v3, v6}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, "\uff1a"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/a/bk;->a()Landroid/content/Context;

    move-result-object v2

    invoke-virtual {v2, v7}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    goto :goto_0
.end method

.method public a(Ljava/util/List;)V
    .locals 1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/a/bk;->m()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->clear()V

    if-eqz p1, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/a/bk;->m()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, p1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    :cond_0
    return-void
.end method

.method public b()I
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/bk;->d:Ljava/util/List;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/bk;->d:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_0

    const v0, 0x7f030219

    :goto_0
    return v0

    :cond_0
    const v0, 0x7f03021c

    goto :goto_0
.end method

.method public c()Z
    .locals 1

    const/4 v0, 0x1

    return v0
.end method

.method public d()Z
    .locals 1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/a/bk;->a()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/waiqin365/lightapp/order/d/a;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/order/d/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/order/d/a;->e()Z

    move-result v0

    return v0
.end method

.method public e()Ljava/lang/String;
    .locals 2

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/a/bk;->a()Landroid/content/Context;

    move-result-object v0

    const v1, 0x7f0804b3

    invoke-virtual {v0, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public f()Z
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method public g()Z
    .locals 1

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v0

    invoke-static {v0}, Lcom/waiqin365/lightapp/order/d/a;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/order/d/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/order/d/a;->d()Z

    move-result v0

    return v0
.end method

.method public getCount()I
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/bk;->d:Ljava/util/List;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/bk;->d:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/bk;->d:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    :goto_0
    return v0

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/bk;->c:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    goto :goto_0
.end method

.method public getItem(I)Ljava/lang/Object;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/bk;->d:Ljava/util/List;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/bk;->d:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/bk;->d:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    :goto_0
    return-object v0

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/bk;->c:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    goto :goto_0
.end method

.method public getItemId(I)J
    .locals 2

    int-to-long v0, p1

    return-wide v0
.end method

.method public h()Z
    .locals 1

    const/4 v0, 0x1

    return v0
.end method

.method public i()Ljava/lang/String;
    .locals 2

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v0

    const v1, 0x7f0805fb

    invoke-virtual {v0, v1}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getString(I)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public j()Ljava/lang/String;
    .locals 2

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v0

    const v1, 0x7f080466

    invoke-virtual {v0, v1}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getString(I)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public k()Ljava/lang/Class;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/bk;->d:Ljava/util/List;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/bk;->d:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_0

    const-class v0, Lcom/waiqin365/lightapp/product/CuXiaoZuDetailActivity;

    :goto_0
    return-object v0

    :cond_0
    const-class v0, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;

    goto :goto_0
.end method

.method public l()Z
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method public notifyDataSetChanged()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/bk;->k:Lcom/waiqin365/lightapp/product/c/a;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/bk;->k:Lcom/waiqin365/lightapp/product/c/a;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/a/bk;->m()Ljava/util/List;

    move-result-object v1

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    invoke-interface {v0, v1}, Lcom/waiqin365/lightapp/product/c/a;->a(I)V

    :cond_0
    invoke-super {p0}, Lcom/waiqin365/lightapp/product/a/co;->notifyDataSetChanged()V

    return-void
.end method
